package cn.fuxue.hrms.common.entity;
import java.sql.Date;
import java.sql.Timestamp;
/**
 * @author 王文勇
 * @version 1.0
 * 班次计划实体类
 */

public class ShiftSchedulePlan {
    // 班次计划唯一标识
    private int id;
    // 班次计划编号
    private int planId;
    // 涉及的员工唯一标识，关联员工表
    private int employeeId;
    // 班次计划日期
    private Date planDate;
    // 最后修改该班次计划的用户唯一标识，关联用户表
    private Integer modifyId;
    // 班次计划最后修改时间
    private Timestamp modifyTime;
    // 创建该班次计划的用户唯一标识，关联用户表
    private int createId;
    // 班次计划创建时间
    private Timestamp createTime;
    // 班次计划更新时间
    private Timestamp updateTime;

    // 无参构造函数
    public ShiftSchedulePlan() {
    }

    // 全参构造函数
    public ShiftSchedulePlan(int id, int planId, int employeeId, Date planDate,
                             Integer modifyId, Timestamp modifyTime, int createId,
                             Timestamp createTime, Timestamp updateTime) {
        this.id = id;
        this.planId = planId;
        this.employeeId = employeeId;
        this.planDate = planDate;
        this.modifyId = modifyId;
        this.modifyTime = modifyTime;
        this.createId = createId;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    // Getter 和 Setter 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPlanId() {
        return planId;
    }

    public void setPlanId(int planId) {
        this.planId = planId;
    }

    public int getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(int employeeId) {
        this.employeeId = employeeId;
    }

    public Date getPlanDate() {
        return planDate;
    }

    public void setPlanDate(Date planDate) {
        this.planDate = planDate;
    }

    public Integer getModifyId() {
        return modifyId;
    }

    public void setModifyId(Integer modifyId) {
        this.modifyId = modifyId;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public int getCreateId() {
        return createId;
    }

    public void setCreateId(int createId) {
        this.createId = createId;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "ShiftSchedulePlan{" +
                "id=" + id +
                ", planId=" + planId +
                ", employeeId=" + employeeId +
                ", planDate=" + planDate +
                ", modifyId=" + modifyId +
                ", modifyTime=" + modifyTime +
                ", createId=" + createId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}